<?php
//Add i blog-view.
//Still needs form-validation, upload a photo.


echo heading("Add Blog Post", 2);

echo nbs(10); echo form_open('blog/insert');

echo nbs(10); echo form_label('Title', 'title');
$input = array('name' => 'title', 'id' => 'title', 'size'=> 40);
echo nbs(10); echo form_input($input);


echo nbs(10); echo form_label('Body', 'body');
$input = array('name' => 'body', 'id' => 'body', 'rows'=> 10, 'cols' => 35);
echo br();
echo nbs(10); echo form_textarea($input);

//tag_field(); //Bilde


echo br(2);
echo nbs(10); echo form_submit('add','add');

echo form_close();

?>
